﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: StatusEntity.cs
// 修改时间：2020-9-8 10:40:11
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：Status 的实体类.
	/// </summary>
	[Table("Status")]
	public partial class StatusEntity
	{
		#region Properties
		private int? _statusID = 0;
		/// <summary>
		/// 状态码ID(主键)
		/// </summary>
		[Column("StatusID",TypeName="int")]
		[Key]
		public int? StatusID
		{
			get {return _statusID;}
			set {_statusID = value;}
		}
		
		private int? _statusCode = 0;
		/// <summary>
		/// 状态码
		/// </summary>
		[Column("StatusCode",TypeName="int")]
		public int? StatusCode
		{
			get {return _statusCode;}
			set {_statusCode = value;}
		}
		
		private System.String _statusName = string.Empty;
		/// <summary>
		/// 状态码名
		/// </summary>
		[Column("StatusName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String StatusName
		{
			get {return _statusName;}
			set {_statusName = value;}
		}
		
		private int? _statusType = 0;
		/// <summary>
		/// 系统状态码
		/// </summary>
		[Column("StatusType",TypeName="int")]
		public int? StatusType
		{
			get {return _statusType;}
			set {_statusType = value;}
		}
		
		#endregion
	}
}
